<div class="box">				
	<div class="box">
			<div class="box-top"></div>
			<div class="box-content">
						<div class="head">
							<h2>{$page_title}</h2>
							<div class="blank"></div>			
							<div class="money_box">
								{$LANG.TOTAL_REFERRALS}：
								<strong class="red">{function name="format_price" value=$total_referral_money}</strong>
								<strong class="red">{function name="format_score" value=$total_referral_score}</strong>
							</div>			
						</div>
						<div class="sect">
						
						<table cellspacing="0" cellpadding="0" border="0" class="coupons-table" >
								<tr>
									<th>{$LANG.USER_TITLE_USER_NAME}</th>
									<th>{$LANG.REGISTER_TIME}</th>
									<th>{$LANG.REFERRALS_GEN}</th>
									<th>{$LANG.REFERRALS_PAID}</th>
									<th>{$LANG.REFERRALS_ORDER}</th>
									<th>{$LANG.REFERRALS_GEN_TIME}</th>
									<th>{$LANG.REFERRALS_PAID_TIME}</th>
									<th>{$LANG.REFERRALS_STATUS}</th>
								</tr>
								{foreach from=$list item=invite key=key}
								<tr {if $key mod 2 eq  0}class="alt"{/if}>
									<td>{$invite.i_user_name}</td>
									<td>{function name="to_date" value=$invite.i_reg_time}</td>
									<td>{if $invite.i_referral_count gt 0}{$LANG.YES}{else}{$LANG.NO}{/if}</td>
									<td>{if $invite.i_pay_time gt 0}{$LANG.YES}{else}{$LANG.NO}{/if}</td>
									<td>{$invite.i_order_sn}</td>
									<td>{function name="to_date" value=$invite.i_referral_time}</td>
									<td>{function name="to_date" value=$invite.i_pay_time}</td>
									<td>
										{if $invite.i_money gt 0}
											{function name="format_price" value=$invite.i_money}
										{/if}
										{if $invite.i_score gt 0}
											{function name="format_score" value=$invite.i_score}
										{/if}
									</td>
								</tr>
								{/foreach}
						</table>
						
						<div class="blank"></div>
						<div class="pages">{$pages}</div>
						</div><!--end sect-->
			</div>
			<div class="box-bottom"></div>
	</div>
</div>